package com.yf.exam.modules.tmpl.dto;

import com.yf.base.api.annon.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
* <p>
* 试卷题目数据传输类
* </p>
*
* @author 聪明笨狗
* @since 2021-04-25 13:59
*/
@Data
@ApiModel(value="试卷题目", description="试卷题目")
public class TmplQuDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "ID", required=true)
    private String id;

    @ApiModelProperty(value = "考试ID", required=true)
    private String tmplId;

    @ApiModelProperty(value = "大题ID", required=true)
    private String groupId;

    @ApiModelProperty(value = "题目ID", required=true)
    private String quId;

    @Dict(dicCode = "qu_type")
    @ApiModelProperty(value = "题目类型", required=true)
    private String quType;
    private String quType_dictText;

    @ApiModelProperty(value = "是否子题", required=true)
    private Boolean child;

    @ApiModelProperty(value = "归属大题", required=true)
    private String refId;

    @ApiModelProperty(value = "分数", required=true)
    private BigDecimal score;

    @ApiModelProperty(value = "排序", required=true)
    private Integer sort;

    @ApiModelProperty(value = "解析", required = true)
    private String analysis;

}
